package com.yty.order.exception;

public class OrderRuntimeException extends RuntimeException {
    public OrderRuntimeException(String message) {
        super(message);
    }


    public OrderRuntimeException(String messagePattern, Object... arg) {
        this(String.format(messagePattern.replaceAll("\\{}", "%s"), arg));
    }
}
